package com.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("秒杀活动场次信息")
@TableName("sms_flash_promotion_session")
public class SmsSpikeSession {
    @ApiModelProperty("秒杀活动场次ID")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("场次名称")
    @TableField(value = "name")
    private String name;
    @ApiModelProperty("场次开始时间")
    @TableField(value = "start_time")
    private String startTime;
    @ApiModelProperty("场次结束时间")
    @TableField(value = "end_time")
    private String endTime;
    @ApiModelProperty("场次启用状态，0->不启用，1->启用")
    @TableField(value = "status")
    private Integer status;
    @ApiModelProperty("创建时间")
    @TableField(value = "create_time")
    private String createTime;
}
